﻿using Leo.Common.MQ;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;

namespace Leo.Common.RabbitMQ
{
    /// <summary>
    /// 消费者 基类
    /// </summary>
    public class CustomEventingBasicConsumer : EventingBasicConsumer
    {
        public readonly IMessageHandler[] Handlers;
        public CustomEventingBasicConsumer(IModel model, IMessageHandler[] handlers) : base(model)
        {
            this.Handlers = handlers;
        }
         
    }
}
